import request from '@/utils/request'

export const createOrder = (data) => {
    return request({
        method:'POST',
        url: '/my/orders/create',
        data
    })
}

export const getPayParams = (data) => {
    return request({
        method:'POST',
        url: '/my/orders/req_unifiedorder',
        data
    })
}

export const checkOrder = (data) => {
    return request({
        method:'POST',
        url: '/my/orders/chkOrder',
        data
    })
}